home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / linux-restricted-modules-2.6.27-7-generic.postrm < prev    next >
Text File  |  2008-10-15  |  332b  |  14 lines

  1. #!/bin/sh
  2.  
  3. case "$1" in
  4.   remove)
  5.     if [ -f /lib/modules/2.6.27-7-generic/volatile/.mounted ]; then
  6.     umount /lib/modules/2.6.27-7-generic/volatile/
  7.     fi
  8.     rmdir /lib/modules/2.6.27-7-generic/volatile/
  9.  
  10.     depmod -a -F /boot/System.map-2.6.27-7-generic 2.6.27-7-generic
  11.     update-initramfs -u -k 2.6.27-7-generic
  12.     ;;
  13. esac
  14.